function showLogin(type) {
    const saoma = document.getElementsByClassName('saoma')[0];
    const mima = document.getElementsByClassName('mima')[0];

    if (!saoma || !mima) {
        console.error('找不到指定的元素');
        return;
    }

    if (type === 'saoma') {
        saoma.style.display = 'block';
        mima.style.display = 'none';
    } else {
        saoma.style.display = 'none';
        mima.style.display = 'block';
    }
}
    function dosubmit() {
        window.location.href='http://47.116.207.219/homePage';
    }